From 77fdc2322da729b863a20c28b2f75341c56fc5fc Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 18 Sep 2002 17:14:05 +0000 Subject: [PATCH] Fix garmin crash. --- gpsbabel/garmin.c | 4 ---- gpsbabel/mingw/Makefile | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gpsbabel/garmin.c b/gpsbabel/garmin.c index 7d2530988..c6a81fa79 100644 --- a/gpsbabel/garmin.c +++ b/gpsbabel/garmin.c @@ -24,7 +24,6 @@ #include "jeeps/gps.h" #define MYNAME "GARMIN" -static FILE *file_in; static const char *portname; static void @@ -40,7 +39,6 @@ rw_init(const char *fname) static void rw_deinit(void) { - fclose(file_in); } static void @@ -112,8 +110,6 @@ data_write(void) GPS_Way_Del(&way[i]); } free(way); - - } ff_vecs_t garmin_vecs = { diff --git a/gpsbabel/mingw/Makefile b/gpsbabel/mingw/Makefile index 52465f0b2..228b9c309 100644 --- a/gpsbabel/mingw/Makefile +++ b/gpsbabel/mingw/Makefile @@ -1,4 +1,4 @@ -CC=/home/robertl/cross-tools/bin/i386-mingw32msvc-gcc -Iinclude +CC=/home/robertl/cross-tools/bin/i386-mingw32msvc-gcc -Iinclude -I../coldsync VPATH=.. gpsbabel.exe: -- 2.30.2